package git.soulbgm.pojo;

import javax.persistence.Id;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Builder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import git.soulbgm.common.annotation.IdBuild;
import git.soulbgm.common.enumerate.IdType;

/**
 * student
 *
 * @author SoulBGM
 * @version V1.0
 * @date 2019-11-25 11:14:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "student")
public class Student {

    /**
     * student_no
     */
    @Id
    @IdBuild(IdType.UUID)
    @ApiModelProperty("student_no")
    private String studentNo;

    /**
     * login_pwd
     */
    @ApiModelProperty("login_pwd")
    private String loginPwd;

    /**
     * grade_id
     */
    @ApiModelProperty("grade_id")
    private Integer gradeId;

    /**
     * student_name
     */
    @ApiModelProperty("student_name")
    private String studentName;

    /**
     * sex
     */
    @ApiModelProperty("sex")
    private String sex;

    /**
     * phone
     */
    @ApiModelProperty("phone")
    private String phone;

    /**
     * address
     */
    @ApiModelProperty("address")
    private String address;

    /**
     * born_date
     */
    @ApiModelProperty("born_date")
    private Date bornDate;

    /**
     * email
     */
    @ApiModelProperty("email")
    private String email;


}